//
//  ViewController.m
//  XIBView
//
//  Created by centling on 15/9/22.
//  Copyright © 2015年 centling. All rights reserved.
//

#import "ViewController.h"
#import "TestView.h"
#import "AWFilterView.h"
#import "AppDelegate.h"
#import "AWTestView.h"
#import "AWAccountView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    

//    [self.view addSubview:testView];
//    [self.view addSubview:te];

    AWAccountView *accountView = [AWAccountView accountView];
    [[[[UIApplication sharedApplication]delegate] window]addSubview:accountView];
//    [self.view addSubview:accountView];
    
//
//    [((AppDelegate*)[[UIApplication sharedApplication] delegate]).window addSubview:testView];
////
//    AWFilterView *filter=[[AWFilterView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
//    [((AppDelegate*)[[UIApplication sharedApplication] delegate]).window addSubview:filter];

//    [self.view addSubview:filter];

    
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
